package com.springIOC.Interceptro;

import net.sf.cglib.proxy.MethodProxy;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

import java.lang.reflect.Method;

/**
 * Created by 41579 on 2017/1/14.
 */
public class MyInterceptor1 implements MethodInterceptor {

    @Override
    public Object invoke(MethodInvocation invocation) throws Throwable {
        System.out.println("invocation = [" + invocation + "]");
        return invocation.proceed();
    }
}
